package com.mos.entity;

import java.util.Date;

/**
 * Package Name: com.mos.entity
 * User: grq
 * Date: 2016/4/6
 * Time: 9:50
 * Description:some des here!
 */
public class Accessory implements java.io.Serializable {

    private String id;//uuid方式生成

    private String type;//附件类型,1:系统自带，2：自定义

    private String originalName;//original文件名

    private String path;//路径

    private Long size;//大小

    private Date createTime;//创建时间

    private String createrId;//创建人id

    private Date updateTime;//修改时间

    private String updaterId;//修改人id

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getOriginalName() {
        return originalName;
    }

    public void setOriginalName(String originalName) {
        this.originalName = originalName;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreaterId() {
        return createrId;
    }

    public void setCreaterId(String createrId) {
        this.createrId = createrId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdaterId() {
        return updaterId;
    }

    public void setUpdaterId(String updaterId) {
        this.updaterId = updaterId;
    }

    public class Support {
        private String tempFileName;//临时文件名
        private String originalFileName;//文件名

        public String getTempFileName() {
            return tempFileName;
        }

        public void setTempFileName(String tempFileName) {
            this.tempFileName = tempFileName;
        }

        public String getOriginalFileName() {
            return originalFileName;
        }

        public void setOriginalFileName(String originalFileName) {
            this.originalFileName = originalFileName;
        }
    }
}
